//
//  hvCustomAnnotation.h
//  CustomMapCalloutAnnotation
//
//  Created by moon on 14-5-7.
//  Copyright (c) 2014年 hv. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

//自定义大头针

//MKAnnotation,
@interface hvCustomAnnotation : NSObject<MKAnnotation>{
	CLLocationCoordinate2D _coordinate;
	NSString *_title;
	NSString *_subtitle;
}
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property (nonatomic, readonly, copy) NSString *title;
@property (nonatomic, readonly, copy) NSString *subtitle;
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
- (void)setTitle:(NSString *)title;
- (void)setSubtitle:(NSString *)subtitle;

- (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate title:(NSString *)title subtitle:(NSString *)subtitle;
@end
